package lista07.exercicio2;

public class extratos extends conta {

	contaPoupanca cp = new contaPoupanca();
	contaCorrente cc = new contaCorrente();
	double limiteCC, limiteCP, extrato;

	public double limiteCC() {
		setLimite(cc.limitec);
		return limiteCC = getLimite();
	}

	public double limiteCP() {
		setLimite(cp.limitep);
		return limiteCP = getLimite();
	}

	public double extrato() {
		setValorEmConta(getValorEmConta());
		return extrato = getValorEmConta();
	}
	
}
